DeliciousBrains\WP_Offload_Media\Items\Media_Library_Item C

Total Complexity 104
Dependencies 3
Dependents 12
Total lines 804
Lines of code 404
Logical lines of code 199
Comment lines 258
Methods 24
Properties 6

Methods 24

Method Rating Maintainability Complexity Lines of code
create_from_source_id()
A
39 9 70
get_attachment_folder_year_month()
A
51 10 27
get_local_url()
A
50 9 27
get_missing_source_ids()
A
47 7 38
count_items()
A
51 8 22
__construct()
S
53 7 21
_legacy_provider_info_to_item()
S
54 6 21
_legacy_get_attachment_provider_info()
S
57 6 16
key()
S
59 6 15
update_filesize_after_download_local()
S
59 6 13
offload_duplicate_items()
S
47 3 42
update_filesize_after_remove_local()
S
64 4 9
remove_duplicate_paths()
S
60 3 12
_legacy_get_provider_object_region()
S
62 3 11
item_data_for_acl_filter()
S
63 3 10
get_folder_time_from_url()
S
64 3 10
get_by_source_id()
S
64 3 10
duplicate_filesize_total()
S
70 2 6
get_acl_for_object_key()
S
75 1 4
admin_link()
S
70 1 6
get_item_time()
S
81 1 3
get_object_key_from_filename()
S
79 1 3
full_source_paths()
S
78 1 3
init_cache()
S
74 1 5